package com.yunfeisoft.business.model;

import com.yunfeisoft.common.base.BaseModel;
import com.yunfeisoft.common.sql.record.TransientField;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * ClassName: RoomDisinfectionRecords
 * Description: 房间周卫生和消毒记录表
 *
 * @Author: Jackie liu
 * Date: 2020-05-22
 */
@Entity
@Table(name = "TT_ROOM_DISINFECTION_RECORDS")
public class RoomDisinfectionRecords extends BaseModel implements Serializable {

    /**
     * Field serialVersionUID: 序列号
     */
    private static final long serialVersionUID = 1L;

    /**
     * 房间id
     */
    @Column
    private String roomId;

    @TransientField
    private String floorNum;

    @TransientField
    private String roomNum;

    @TransientField
    private String createName;

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getFloorNum() {
        return floorNum;
    }

    public void setFloorNum(String floorNum) {
        this.floorNum = floorNum;
    }

    public String getRoomNum() {
        return roomNum;
    }

    public void setRoomNum(String roomNum) {
        this.roomNum = roomNum;
    }

    /**
     * 房间卫生状态1已做2未做
     */
    @Column
    private Integer roomHygieneStatus;

    public String getRoomHygieneStatusStr() {
        if (roomHygieneStatus == null) {
            return null;
        }
        if (roomHygieneStatus == 1) {
            return "已做";
        } else {
            return "未做";
        }
    }

    /**
     * 房间卫生间状态1已做2未做
     */
    @Column
    private Integer roomBathroomStatus;

    public String getRoomBathroomStatusStr() {
        if (roomBathroomStatus == null) {
            return null;
        }
        if (roomBathroomStatus == 1) {
            return "已做";
        } else {
            return "未做";
        }
    }

    /**
     * 房间地面状态1已做2未做
     */
    @Column
    private Integer roomGroundStatus;

    public String getRoomGroundStatusStr() {
        if (roomGroundStatus == null) {
            return null;
        }
        if (roomGroundStatus == 1) {
            return "已做";
        } else {
            return "未做";
        }
    }

    /**
     * 毛巾是否消毒1已消毒2未消毒
     */
    @Column
    private Integer towelDisinfectionStatus;

    public String getTowelDisinfectionStatusStr() {
        if (towelDisinfectionStatus == null) {
            return null;
        }
        if (towelDisinfectionStatus == 1) {
            return "已消毒";
        } else {
            return "未消毒";
        }
    }

    /**
     * 口杯餐具是否消毒1已消毒2未消毒
     */
    @Column
    private Integer cupwareDisinfectionStatus;

    public String getCupwareDisinfectionStatusStr() {
        if (cupwareDisinfectionStatus == null) {
            return null;
        }
        if (cupwareDisinfectionStatus == 1) {
            return "已消毒";
        } else {
            return "未消毒";
        }
    }

    /**
     * 脸盆脚盆是否消毒1已消毒2未消毒
     */
    @Column
    private Integer washbasinDisinfectionStatus;

    public String getWashbasinDisinfectionStatusStr() {
        if (washbasinDisinfectionStatus == null) {
            return null;
        }
        if (washbasinDisinfectionStatus == 1) {
            return "已消毒";
        } else {
            return "未消毒";
        }
    }

    /**
     * 是否开窗通风1已做2未做
     */
    @Column
    private Integer openWindowStatus;

    public String getOpenWindowStatusStr() {
        if (openWindowStatus == null) {
            return null;
        }
        if (openWindowStatus == 1) {
            return "已做";
        } else {
            return "未做";
        }
    }

    /**
     * 玻璃清洁状态1已做2未做
     */
    @Column
    private Integer glassCleanStatus;

    public String getGlassCleanStatusStr() {
        if (glassCleanStatus == null) {
            return null;
        }
        if (glassCleanStatus == 1) {
            return "已做";
        } else {
            return "未做";
        }
    }

    /**
     * 床单换洗状态1已做2未做
     */
    @Column
    private Integer bedChangeStatus;

    public String getBedChangeStatusStr() {
        if (bedChangeStatus == null) {
            return null;
        }
        if (bedChangeStatus == 1) {
            return "已做";
        } else {
            return "未做";
        }
    }

    /**
     * 抹布拖把状态1已做2未做
     */
    @Column
    private Integer ragMopStatus;

    public String getRagMopStatusStr() {
        if (ragMopStatus == null) {
            return null;
        }
        if (ragMopStatus == 1) {
            return "已做";
        } else {
            return "未做";
        }
    }

    /**
     * 卫生间消毒状态1已消毒2未消毒
     */
    @Column
    private Integer toiletDisinfectionStatus;

    public String getToiletDisinfectionStatusStr() {
        if (toiletDisinfectionStatus == null) {
            return null;
        }
        if (toiletDisinfectionStatus == 1) {
            return "已消毒";
        } else {
            return "未消毒";
        }
    }

    /**
     * 轮椅状态1已做2未做
     */
    @Column
    private Integer wheelchairStatus;

    public String getWheelchairStatusStr() {
        if (wheelchairStatus == null) {
            return null;
        }
        if (wheelchairStatus == 1) {
            return "已做";
        } else {
            return "未做";
        }
    }

    /**
     * 走廊状态1已做2未做
     */
    @Column
    private Integer corridorStatus;

    public String getCorridorStatusStr() {
        if (corridorStatus == null) {
            return null;
        }
        if (corridorStatus == 1) {
            return "已做";
        } else {
            return "未做";
        }
    }

    /**
     * 护栏状态1已做2未做
     */
    @Column
    private Integer guardrailStatus;

    public String getGuardrailStatusStr() {
        if (guardrailStatus == null) {
            return null;
        }
        if (guardrailStatus == 1) {
            return "已做";
        } else {
            return "未做";
        }
    }



    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public Integer getRoomHygieneStatus() {
        return roomHygieneStatus;
    }

    public void setRoomHygieneStatus(Integer roomHygieneStatus) {
        this.roomHygieneStatus = roomHygieneStatus;
    }

    public Integer getRoomBathroomStatus() {
        return roomBathroomStatus;
    }

    public void setRoomBathroomStatus(Integer roomBathroomStatus) {
        this.roomBathroomStatus = roomBathroomStatus;
    }

    public Integer getRoomGroundStatus() {
        return roomGroundStatus;
    }

    public void setRoomGroundStatus(Integer roomGroundStatus) {
        this.roomGroundStatus = roomGroundStatus;
    }

    public Integer getTowelDisinfectionStatus() {
        return towelDisinfectionStatus;
    }

    public void setTowelDisinfectionStatus(Integer towelDisinfectionStatus) {
        this.towelDisinfectionStatus = towelDisinfectionStatus;
    }

    public Integer getCupwareDisinfectionStatus() {
        return cupwareDisinfectionStatus;
    }

    public void setCupwareDisinfectionStatus(Integer cupwareDisinfectionStatus) {
        this.cupwareDisinfectionStatus = cupwareDisinfectionStatus;
    }

    public Integer getWashbasinDisinfectionStatus() {
        return washbasinDisinfectionStatus;
    }

    public void setWashbasinDisinfectionStatus(Integer washbasinDisinfectionStatus) {
        this.washbasinDisinfectionStatus = washbasinDisinfectionStatus;
    }

    public Integer getOpenWindowStatus() {
        return openWindowStatus;
    }

    public void setOpenWindowStatus(Integer openWindowStatus) {
        this.openWindowStatus = openWindowStatus;
    }

    public Integer getGlassCleanStatus() {
        return glassCleanStatus;
    }

    public void setGlassCleanStatus(Integer glassCleanStatus) {
        this.glassCleanStatus = glassCleanStatus;
    }

    public Integer getBedChangeStatus() {
        return bedChangeStatus;
    }

    public void setBedChangeStatus(Integer bedChangeStatus) {
        this.bedChangeStatus = bedChangeStatus;
    }

    public Integer getRagMopStatus() {
        return ragMopStatus;
    }

    public void setRagMopStatus(Integer ragMopStatus) {
        this.ragMopStatus = ragMopStatus;
    }

    public Integer getToiletDisinfectionStatus() {
        return toiletDisinfectionStatus;
    }

    public void setToiletDisinfectionStatus(Integer toiletDisinfectionStatus) {
        this.toiletDisinfectionStatus = toiletDisinfectionStatus;
    }

    public Integer getWheelchairStatus() {
        return wheelchairStatus;
    }

    public void setWheelchairStatus(Integer wheelchairStatus) {
        this.wheelchairStatus = wheelchairStatus;
    }

    public Integer getCorridorStatus() {
        return corridorStatus;
    }

    public void setCorridorStatus(Integer corridorStatus) {
        this.corridorStatus = corridorStatus;
    }

    public Integer getGuardrailStatus() {
        return guardrailStatus;
    }

    public void setGuardrailStatus(Integer guardrailStatus) {
        this.guardrailStatus = guardrailStatus;
    }


}